# # 王磊的作业
# n= 1
# while n < 8:
#     x=0
#     while x < n:
#         print('*',end='\t')
#         x += 1
#     print()
#     n += 1

n = 10
while n > 0:
    x = 0
    b = 9
    while x < n:
        print('  ', end='\t')
        x += 1
        b -= 1
    a = 0
    while a < b:
        print(' *  ', end='\t')
        a += 1
    print("\n")
    n -= 1
